<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8">
	<title>用户列表</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link href="/static/layui/css/layui.css" th:href="@{/static/layui/css/layui.css}" media="all" type="text/css" rel="stylesheet"/>
	<link href="/static/css/public.css" th:href="@{/static/css/public.css}" media="all" type="text/css" rel="stylesheet"/>
</head>
<body class="childrenBody">
	<form class="layui-form" style="width:80%;">
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">登录名</label>
			<div class="layui-input-block">
				<input type="hidden" class="id" name="id">
				<input type="hidden" class="password" name="password">
				<input type="hidden" class="userEndTime" name="userEndTime">
				<input type="text" class="layui-input userName" lay-verify="required" placeholder="请输入登录名" disabled>
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">邮箱</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input userEmail" lay-verify="email" placeholder="请输入邮箱">
			</div>
		</div>
		<div class="layui-row">
			<div class="magb15 layui-col-md4 layui-col-xs12">
				<label class="layui-form-label">性别</label>
				<div class="layui-input-block userSex">
					<input type="radio" name="userSex" value="男" title="男" checked>
					<input type="radio" name="userSex" value="女" title="女">
					<input type="radio" name="userSex" value="保密" title="保密">
				</div>
			</div>
			<div class="magb15 layui-col-md4 layui-col-xs12">
				<label class="layui-form-label">会员等级</label>
				<div class="layui-input-block">
					<!-- ajax动态生成等级列表 -->
					<select name="userGrade" class="userGrade" lay-filter="userGrade"></select>
					<!-- 使用隐藏域来保存其他页面传过来的用户等级ID -->
					<input type="hidden" class="userGradeHide" name="userGradeHide" />
				</div>
			</div>
			<div class="magb15 layui-col-md4 layui-col-xs12">
				<label class="layui-form-label">会员状态</label>
				<div class="layui-input-block">
					<select name="userStatus" class="userStatus" lay-filter="userStatus">
						<option value="0">正常使用</option>
						<option value="1">限制使用</option>
					</select>
				</div>
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">用户简介</label>
			<div class="layui-input-block">
				<textarea placeholder="请输入用户简介" class="layui-textarea userDesc" name="userDesc"></textarea>
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<div class="layui-input-block">
				<button class="layui-btn layui-btn-m" lay-submit="" lay-filter="editUser">修改</button>
				<button type="button" class="layui-btn layui-btn-m layui-btn-primary cancle_btn">取消</button>
			</div>
		</div>
	</form>
<script type="text/javascript" src="/static/layui/layui.js" th:src="@{/static/layui/layui.js}"></script>
<script type="text/javascript" src="/static/js/userAddOrEdit.js" th:src="@{/static/js/userAddOrEdit.js}"></script>
</body>
</html>